package org.qqcui.designpattern.patterns.watcher.observer;

/**
 * 观察者接口
 *
 * @author cuiqingqiang
 * @version 1.0
 * @date 2022/5/6 15:16
 **/
public interface Observer {

    /**
     * 更新数据
     * @param temperature
     * @param pressure
     * @param humidity
     */
    void update(float temperature, float pressure, float humidity);
}
